<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>欢迎登录后台管理</title>
		<link rel="stylesheet" type="text/css"
			href="ext/resources/css/ext-all.css" />

		<script type="text/javascript" src="ext/adapter/ext/ext-base.js"></script>

		<script type="text/javascript" src="ext/ext-all.js"></script>
		<script type="text/javascript" src="css/js/tree.js"></script>
		<style type="text/css">
<!--
.headtd1 {
	background: #00A4E1;
	border: 2px outset;
	border-color: #00BBFF #0077FF #0077FF #00BBFF;
	cursor: hand;
	font-size: 9pt;
	font-family: 华文隶书
}

.headtd2 {
	background: #20C1FF;
	border: 2px outset;
	border-color: #60D3FF #0077FF #0077FF #60D3FF;
	cursor: hand;
	font-size: 9pt
}

.bodytd {
	background: #99CCFF;
	border: 2px outset;
	border-color: #B0D8FF #0077FF #0077FF #B0D8FF;
	font-size: 9pt
}
-->
</style>
	</head>

	<body onload="goforit()">
		<div id="mainboard"
			style="position: absolute; left: 255px; top: 2px; width: 150px; height: 150px; z-index: 1; overflow: hidden; background: #0099FF;">
			欢迎您：${sessionScope.userInfo.userName }&nbsp;&nbsp;
			<a href="system/logout.jsp"
				style="text-decoration: none; font-family: '华文新魏'; font-size: 18px;">注销</a>
			<hr style="margin-top: -1px"></hr>
			<table align="left" width="20%" cellspacing="0" cellpadding="0">
				<tr>
					<td height="24" valign="top">
						<div align="center" style="width: 150px;">
							现在时间:<div id="time-now"/>
							<span id="clock"><script> 
var dayarray=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六")
var montharray=new Array("1","2","3","4","5","6","7","8","9","10","11","12")
 
function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var hours=mydate.getHours()
var minutes=mydate.getMinutes()
var seconds=mydate.getSeconds()
var dn="上午"
if (hours>=12)
dn="下午"
if (hours>12){
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
//change font size here
var cdate="<small><font color='#ffffff' face='Arial'><b>"+year+"-"+montharray[month]+"-"+daym+"<br/>"+dayarray[day]+" "+hours+":"+minutes+":"+seconds+""+dn
+"</b></font></small>"
if (document.all)
document.all.clock.innerHTML=cdate
else
document.write(cdate)
}
if (!document.all)
getthedate()
function goforit(){
if (document.all)
setInterval("getthedate()",1000)
}
 
</script> </span>
						</div>
					</td>
				</tr>
			</table>
		</div>
			
			 <div id="mainboard"
			style="position: absolute; left: 255px; top: 80px; width: 150px; height: 450px; z-index: 1; overflow: hidden;">
		<div id="tree-div"
				style="overflow: auto; height: 300px; width: 200px; border: 2px solid #c3daf9;"></div>
		</div> 

	</body>
</html>

